package com.codingfuture.mapper;

import com.codingfuture.entity.CourseContent;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface CourseContentMapper {
//    @Select("select * from course_content")
    List<CourseContent> findById(Integer id);

    @Insert("insert into course_content(name,stage_id) " +
            "values(#{name},#{stageId})")
    int insert(CourseContent courseContent);
}
